import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import getters from './getters'
import createPersisteState from 'vuex-persistedstate'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    produce: []
  },
  mutations,
  getters,
  actions: {
  },
  modules: {

  },
  plugins: [createPersisteState({
    storage: window.sessionStorage
  })]
})
